﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000DBF RID: 3519
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RaidCollectionEnterNextRaidScRsp : IMessage<RaidCollectionEnterNextRaidScRsp>, IMessage, IEquatable<RaidCollectionEnterNextRaidScRsp>, IDeepCloneable<RaidCollectionEnterNextRaidScRsp>, IBufferMessage
	{
		// Token: 0x17002CAE RID: 11438
		// (get) Token: 0x06009DF3 RID: 40435 RVA: 0x001A65A7 File Offset: 0x001A47A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RaidCollectionEnterNextRaidScRsp> Parser
		{
			get
			{
				return RaidCollectionEnterNextRaidScRsp._parser;
			}
		}

		// Token: 0x17002CAF RID: 11439
		// (get) Token: 0x06009DF4 RID: 40436 RVA: 0x001A65AE File Offset: 0x001A47AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RaidCollectionEnterNextRaidScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002CB0 RID: 11440
		// (get) Token: 0x06009DF5 RID: 40437 RVA: 0x001A65C0 File Offset: 0x001A47C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RaidCollectionEnterNextRaidScRsp.Descriptor;
			}
		}

		// Token: 0x06009DF6 RID: 40438 RVA: 0x001A65C7 File Offset: 0x001A47C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionEnterNextRaidScRsp()
		{
		}

		// Token: 0x06009DF7 RID: 40439 RVA: 0x001A65D0 File Offset: 0x001A47D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionEnterNextRaidScRsp(RaidCollectionEnterNextRaidScRsp other) : this()
		{
			this.scene_ = ((other.scene_ != null) ? other.scene_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009DF8 RID: 40440 RVA: 0x001A661C File Offset: 0x001A481C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RaidCollectionEnterNextRaidScRsp Clone()
		{
			return new RaidCollectionEnterNextRaidScRsp(this);
		}

		// Token: 0x17002CB1 RID: 11441
		// (get) Token: 0x06009DF9 RID: 40441 RVA: 0x001A6624 File Offset: 0x001A4824
		// (set) Token: 0x06009DFA RID: 40442 RVA: 0x001A662C File Offset: 0x001A482C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GAMNEPOEGHM Scene
		{
			get
			{
				return this.scene_;
			}
			set
			{
				this.scene_ = value;
			}
		}

		// Token: 0x17002CB2 RID: 11442
		// (get) Token: 0x06009DFB RID: 40443 RVA: 0x001A6635 File Offset: 0x001A4835
		// (set) Token: 0x06009DFC RID: 40444 RVA: 0x001A663D File Offset: 0x001A483D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06009DFD RID: 40445 RVA: 0x001A6646 File Offset: 0x001A4846
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RaidCollectionEnterNextRaidScRsp);
		}

		// Token: 0x06009DFE RID: 40446 RVA: 0x001A6654 File Offset: 0x001A4854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RaidCollectionEnterNextRaidScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.Scene, other.Scene) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009DFF RID: 40447 RVA: 0x001A66A4 File Offset: 0x001A48A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.scene_ != null)
			{
				num ^= this.Scene.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009E00 RID: 40448 RVA: 0x001A66F9 File Offset: 0x001A48F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009E01 RID: 40449 RVA: 0x001A6701 File Offset: 0x001A4901
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009E02 RID: 40450 RVA: 0x001A670C File Offset: 0x001A490C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this.scene_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.Scene);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009E03 RID: 40451 RVA: 0x001A6768 File Offset: 0x001A4968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.scene_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Scene);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009E04 RID: 40452 RVA: 0x001A67C0 File Offset: 0x001A49C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RaidCollectionEnterNextRaidScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.scene_ != null)
			{
				if (this.scene_ == null)
				{
					this.Scene = new GAMNEPOEGHM();
				}
				this.Scene.MergeFrom(other.Scene);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009E05 RID: 40453 RVA: 0x001A6828 File Offset: 0x001A4A28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009E06 RID: 40454 RVA: 0x001A6834 File Offset: 0x001A4A34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 34U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.scene_ == null)
						{
							this.Scene = new GAMNEPOEGHM();
						}
						input.ReadMessage(this.Scene);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003CEA RID: 15594
		private static readonly MessageParser<RaidCollectionEnterNextRaidScRsp> _parser = new MessageParser<RaidCollectionEnterNextRaidScRsp>(() => new RaidCollectionEnterNextRaidScRsp());

		// Token: 0x04003CEB RID: 15595
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003CEC RID: 15596
		public const int SceneFieldNumber = 4;

		// Token: 0x04003CED RID: 15597
		private GAMNEPOEGHM scene_;

		// Token: 0x04003CEE RID: 15598
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04003CEF RID: 15599
		private uint retcode_;
	}
}
